package com.hdax.dm.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.dm.dto.OrderDto;
import com.hdax.dm.entity.order.DmOrder;
import com.hdax.dm.utils.response.CommonResponse;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface OrderService extends IService<DmOrder> {

    CommonResponse<List<OrderDto>> queryorderlist(Map<String,Object> map,Integer uid);

    Integer OrderAdd(DmOrder order);

    DmOrder orderOne(String orderNo);

    Integer orderDel(String orderNo);

    Boolean orderUpdate(Long orderType,String orderNo);
}
